package cn.smartorigin.soas.frame;

import javax.swing.ImageIcon;
import javax.swing.JFrame;

public class ErrorFrame extends JFrame{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public ErrorFrame(){
		this.setTitle(" 错误 - SOAS");
		this.setIconImage(new ImageIcon("img/sosa_logo.png").getImage());
		this.setSize(400,200);
		this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setVisible(true);
	}

}
